package com.haixin.security.service;


import com.haixin.security.bean.RolePermission;

import java.util.List;

public interface RolePermissionService {
    List<RolePermission> getAllRolePermissions();
    List<Integer> getPermissionsByRoleId(int roleId);
    boolean addRolePermission(RolePermission rolePermission);
    boolean removeRolePermissionsByRoleId(int roleId);
    boolean removeRolePermission(RolePermission rolePermission);
}
